package com.junbao.message.domain.model;

import java.io.Serializable;

import org.apache.commons.lang3.StringUtils;

public class Entity implements Serializable{

	private static final long serialVersionUID = 2065175384743333579L;

	private String uuid;
	
	public Entity(String uuid){
		setUuid(uuid);
	}

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		if (StringUtils.isEmpty(uuid)) {
			throw new NullPointerException("构建保单实体uuid为空！");
		}
		this.uuid = uuid;
	}

}
